<?php

require_once 'generic_banc.php';
require_once 'buxfer.php';

    $o_bank_res = new parse_bank_statement_BCS();
    
    $o_bank_res->read_content();
    $o_transaction = $o_bank_res->get_transaction();
    echo var_dump($o_transaction);





    $o_buxfer = new buxfer();
    $o_buxfer->set_account("testAccount");
   for ($i = 0; $i < count($o_transaction); $i++) {
            
          // $tag = $o_buxfer->calc_correlaction( $o_transaction[$i]['description']);
           $o_buxfer->compare($o_transaction[$i]);
    }
    $o_buxfer->add_transactions(); 
    




?>